.container {
  padding: 16px;
}

.searchInput {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.searchInput :global(.ant-input-affix-wrapper) {
  border-radius: 40px !important;
  border: 1.2px solid #e5eaf3 !important;
  box-shadow: none !important;
  height: 80px !important;
  background: #fff !important;
  transition: border-color 0.2s;
}

.searchInput :global(.ant-input-affix-wrapper-focused) {
  border-color: #1677ff !important;
}

.searchInput :global(.ant-input) {
  border-radius: 40px !important;
  font-size: 20px !important;
  height: 80px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-left: 32px !important;
}

.searchInput :global(.ant-input-search-button) {
  background: linear-gradient(90deg, #FF8386 0%, #FF191F 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 24px !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  height: 48px !important;
  min-width: 120px !important;
  margin-right: 12px !important;
  box-shadow: none !important;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.searchInput :global(.ant-input-search-button):hover,
.searchInput :global(.ant-input-search-button):active,
.searchInput :global(.ant-input-search-button):focus {
  background: #FF191F !important;
  color: #fff !important;
}

.friendList {
  background: #fff;
  border-radius: 8px;
}

.searchResult {
  margin-top: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.friendList :global(.ant-list-item),
.searchResult :global(.ant-list-item) {
  padding: 12px 24px;
  transition: background-color 0.3s;
}

.friendList :global(.ant-list-item:hover) {
  background-color: #fafafa;
}

.searchResult :global(.ant-list-item) {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.searchResult :global(.ant-list-item-meta) {
  flex: 1;
  margin-right: 16px;
}

.searchResult :global(.ant-list-item-action) {
  margin-left: auto;
}
/*搜索好友框样式*/
.customSearchBox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 665px;
  max-width: 90vw;
  height: 56px;
  background: #fff;
  border: 1.2px solid #e5eaf3;
  border-radius: 28px;
  box-sizing: border-box;
  margin: 0 auto 24px auto;
  box-shadow: none;
  position: relative;
}

.customInput {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #222;
  border-radius: 28px;
  padding-left: 20px;
  padding-right: 0;
  box-shadow: none;
}
.customInput::placeholder {
  color: #8c939d;
  font-size: 16px;
}

.customSearchBtn {
  height: 40px;
  width: 100px;
  padding: 0 32px;
  border: none;
  outline: none;
  background: linear-gradient(90deg, #FF8386 0%, #FF191F 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  box-shadow: none;
  white-space: nowrap;
}
.customSearchBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.customSearchBtn:hover,
.customSearchBtn:active,
.customSearchBtn:focus {
  background: #FF191F;
  color: #fff;
} 